module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset',
    [
      '@babel/env',
      {
        "corejs": {
          "version": 3,
          "proposals": true // 使用尚在“提议”阶段特性的 polyfill
        },
        "useBuiltIns": "entry",
        "targets": {
          "chrome": "58",
          "ie": "10"
        }
      }
    ]
  ],
  plugins: [ "@babel/proposal-class-properties",
    "@babel/proposal-object-rest-spread"]
}
